<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML>
<html>
<head>

    <title>后台管理</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0.js"></script>
    <style>
        *{ margin:0; padding:0; list-style:none;}
        a{
            color:red;
        }
        body{
            text-align:center;
        }

        table{
            width:1000px;
            height:600px;
            border:1px;
            margin:0 auto;
            position:relative;
            top:100px;
            font-size:1.3em;
            padding:10px;

        }
        tr{
            height:200px;
            margin:10px;
        }
        #tr0{
            height:100px;
        }
        td{
            width:300px;
            padding:10px;
            margin:10px;
        }
        #td_red{
            background:red;
        }
        #td_green{
            background:#00BB00;
        }
        #td_blue{
            background:#00D8FF;
        }
        #td_yellow{
            background:yellow;
        }
    </style>
</head>
<jsp:include page="head.jsp"></jsp:include>
<body>
<table >

    <tr>
        <td id="td_red">查看所有商品</td>
        <td id="td_green"> 账单查看 </td>
    </tr>
    <tr>

        <td id="td_blue">处理订单</td>
        <td id="td_yellow"> 添加商品 </td>

    </tr>
</table>
<script type="text/javascript" >
    $(function(){
        //

        // 处理订单
        $("#td_blue").click(function(){
            window.location.href="dealorder.jsp";
        });
        // 添加商品
        $("#td_red").click(function(){
            window.location.href="allgoods.jsp";
        });

        $("#td_green").click(function(){
            window.location.href="lookbill.jsp";
        });
        $("#td_yellow").click(function () {
            window.location.href="addbook.jsp";
        })

    });




</script>
</body>
</html>
